package com.psm.model;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;
import com.jfinal.plugin.activerecord.Record;

import java.util.List;


/**
 * Created by cheam on 15/6/19.
 */
public class SysRefUserRole extends Model<SysRefUserRole> {

    public static String tableName="sys_ref_user_role";

    public static final SysRefUserRole me = new SysRefUserRole();

    public void delete_for_user(String user_id){
        Db.deleteById(tableName,"sys_user_id",user_id);
    }


}
